package com.caigou.bean.cms.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SurveyOption implements Serializable {
    private Integer id;
    private Integer questionId;
    private String formId;
    private String optionTitle;
    private String optionIcon;
    private Integer optionOrder;

    private String optionDescription;
    private Integer isDisplayOptionDescription;

    private String optionDetail;

    private Integer enableExLink;
    private String exLinkUrl;

    private Integer submitCount;
    private Integer changeCount;

    private Date createTime;
    private Date updateTime;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", optionTitle=").append(optionTitle);
        sb.append(", optionIcon=").append(optionIcon);
        sb.append(", optionOrder=").append(optionOrder);
        sb.append(", optionDescription=").append(optionDescription);
        sb.append(", isDisplayOptionDescription").append(isDisplayOptionDescription);
        sb.append(", optionDetail=").append(optionDetail);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", questionId=").append(questionId);
        sb.append(", formId=").append(formId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}